e78399c34f8c6ae789253af3bbe83e5f45d25bbf,platform/vcs-impl/testSrc/com/intellij/openapi/vcs/roots/VcsRootDetectorTest.java,VcsRootDetectorTest,testProjectWithMockRootUnderIt,#,56

Before Change


  }

  public void testProjectWithMockRootUnderIt() throws IOException {
    Map<String, Collection<String>> map = new HashMap<String, Collection<String>>();
    map.put("mock", Arrays.asList("community"));
    map.put("content_roots", Collections.<String>emptyList());
    cd(myProjectRoot);
    mkdir("src");
    mkdir(".idea");
    doTest(map, myProjectRoot, Arrays.asList("community"));
  }

  public void testProjectWithAllSubdirsUnderMockRootShouldStillBeNotFullyControlled() throws IOException {

After Change


    cd(myProjectRoot);
    mkdir("src");
    mkdir(".idea");
    doTest(new VcsRootConfiguration().mock(Arrays.asList("community")), myProjectRoot, Arrays.asList("community"));
  }

  public void testProjectWithAllSubdirsUnderMockRootShouldStillBeNotFullyControlled() throws IOException {